package com.yanqu.road.entity.log;


import com.yanqu.road.entity.FieldTypeAnnotation;

import java.util.Date;

@FieldTypeAnnotation(tableName = "t_l_ck_tomb_npc_base_blood", desc = "秦始皇陵-NPC血量日志", autoSave = true, uploadCk = true)
public class LogTombNpcBaseBlood extends ServerBaseLog {

    @FieldTypeAnnotation(desc = "活动id", isIndex = true)
    private int activityId;
    @FieldTypeAnnotation(desc = "怪物Id", isIndex = true)
    private int npcId;
    @FieldTypeAnnotation(desc = "血量1")
    private long hp1;
    @FieldTypeAnnotation(desc = "血量2")
    private long hp2;
    @FieldTypeAnnotation(desc = "保底血量")
    private long minHp;
    @FieldTypeAnnotation(desc = "取值")
    private long resultHp;

    public LogTombNpcBaseBlood(int activityId, int npcId, long hp1, long hp2, long minHp, long resultHp) {
        this.activityId = activityId;
        this.npcId = npcId;
        this.hp1 = hp1;
        this.hp2 = hp2;
        this.minHp = minHp;
        this.resultHp = resultHp;
    }

    @Override
    public long getUserId() {
        return 0;
    }
}
